home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
richte1a
/
frmmain.frm
< prev
next >
Wrap
Text File
|
1999-10-05
|
20KB
|
674 lines
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form frmMain
BorderStyle = 1 'Fixed Single
Caption = "Rich Text IP Chat"
ClientHeight = 3450
ClientLeft = 45
ClientTop = 330
ClientWidth = 4380
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 3450
ScaleWidth = 4380
StartUpPosition = 3 'Windows Default
Begin MSWinsockLib.Winsock sckConnect
Left = 3960
Top = 3000
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin RichTextLib.RichTextBox rtbChat
Height = 1660
Left = 80
TabIndex = 18
Top = 190
Width = 4215
_ExtentX = 7435
_ExtentY = 2910
_Version = 393217
Enabled = -1 'True
ReadOnly = -1 'True
ScrollBars = 2
TextRTF = $"frmMain.frx":0000
End
Begin MSComDlg.CommonDialog dlgColors
Left = 3480
Top = 3000
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton cmdColors
Height = 320
Left = 2040
Picture = "frmMain.frx":00EF
Style = 1 'Graphical
TabIndex = 17
Top = 1930
Width = 315
End
Begin RichTextLib.RichTextBox rtbText
Height = 360
Left = -5
TabIndex = 16
Top = 2240
Width = 3720
_ExtentX = 6562
_ExtentY = 635
_Version = 393217
Enabled = -1 'True
TextRTF = $"frmMain.frx":0431
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.CheckBox chkUnderline
Height = 320
Left = 3120
Picture = "frmMain.frx":0520
Style = 1 'Graphical
TabIndex = 15
Top = 1930
Width = 315
End
Begin VB.CheckBox chkItalic
Height = 320
Left = 2815
Picture = "frmMain.frx":0862
Style = 1 'Graphical
TabIndex = 14
Top = 1930
Width = 315
End
Begin VB.ComboBox cmbFonts
Height = 315
Left = 10
Sorted = -1 'True
Style = 2 'Dropdown List
TabIndex = 13
Top = 1930
Width = 1935
End
Begin VB.CheckBox chkBold
Height = 320
Left = 2520
Picture = "frmMain.frx":0BA4
Style = 1 'Graphical
TabIndex = 12
Top = 1930
UseMaskColor = -1 'True
Width = 315
End
Begin VB.CommandButton cmdConnect
Caption = "Connect"
Height = 405
Left = 3390
TabIndex = 11
Top = 2655
Width = 975
End
Begin VB.TextBox txtIP
Height = 285
Left = 1960
TabIndex = 10
Text = "localhost"
Top = 3120
Width = 1415
End
Begin VB.TextBox txtPort
Height = 285
Left = 440
TabIndex = 8
Text = "400"
Top = 3120
Width = 1215
End
Begin VB.OptionButton optHostGuest
Caption = "Guest"
Height = 195
Index = 1
Left = 2520
TabIndex = 6
Top = 2760
Value = -1 'True
Width = 735
End
Begin VB.OptionButton optHostGuest
Caption = "Host"
Height = 195
Index = 0
Left = 1800
TabIndex = 5
Top = 2760
Width = 735
End
Begin VB.TextBox txtNick
Height = 285
Left = 440
TabIndex = 4
Text = "NickName"
Top = 2700
Width = 1215
End
Begin VB.CommandButton cmdSend
Caption = "Send"
Height = 335
Left = 3720
TabIndex = 2
Top = 2245
Width = 625
End
Begin VB.Frame frmeSep
Height = 135
Left = 0
TabIndex = 1
Top = 2520
Width = 4385
End
Begin VB.Frame frmeChatWindow
Caption = "Chat Window"
Height = 1935
Left = 0
TabIndex = 0
Top = 0
Width = 4365
End
Begin VB.Shape shpGreen
BackColor = &H00008000&
BackStyle = 1 'Opaque
BorderColor = &H00008000&
Height = 255
Left = 3960
Shape = 3 'Circle
Top = 3120
Width = 255
End
Begin VB.Shape shpRed
BackColor = &H000000FF&
BackStyle = 1 'Opaque
BorderColor = &H000000FF&
FillColor = &H00000080&
Height = 255
Left = 3480
Shape = 3 'Circle
Top = 3120
Width = 255
End
Begin VB.Label lblIP
BackStyle = 0 'Transparent
Caption = "IP:"
Height = 255
Left = 1710
TabIndex = 9
Top = 3150
Width = 255
End
Begin VB.Label lblPort
BackStyle = 0 'Transparent
Caption = "Port:"
Height = 255
Left = 0
TabIndex = 7
Top = 3150
Width = 375
End
Begin VB.Line lneSep3
BorderColor = &H80000003&
Index = 1
X1 = 3345
X2 = 3345
Y1 = 2640
Y2 = 3050
End
Begin VB.Line lneSep3
BorderColor = &H00FFFFFF&
Index = 0
X1 = 3360
X2 = 3360
Y1 = 2640
Y2 = 3060
End
Begin VB.Line lneSep2
BorderColor = &H80000003&
Index = 1
X1 = 1680
X2 = 1680
Y1 = 3025
Y2 = 2625
End
Begin VB.Line lneSep
BorderColor = &H80000003&
Index = 1
X1 = 0
X2 = 3360
Y1 = 3030
Y2 = 3030
End
Begin VB.Line lneSep2
BorderColor = &H00FFFFFF&
Index = 0
X1 = 1695
X2 = 1695
Y1 = 3045
Y2 = 2640